﻿using System;
using System.Collections.Generic;
using System.Text;
using Truron.Purchase.Model;
using Truron.Purchase.Model.RemoteModel;

namespace Truron.Purchase.Interface
{
    public interface IPurchase_OuterNotePayRelationService
    {
        (int count, List<Purchase_OuterNotePayRelation> list) GetList(string searchKey, int pageSize, int pageIndex, string searchJson);

        int Save(Purchase_OuterNotePayRelation ent, UserCache user);

        int Del(List<int> Ids, UserCache user);
        List<Purchase_OuterNotePayRelation> GetListAll();
        List<Purchase_OuterNotePayRelation> GetListByIds(List<int> ids);
        List<Purchase_OuterNotePayRelation> GetListByOuterNoteIds(List<int> ids);
        void UpdateRelationMoney(int OuterNoteId,int PayNoteId,decimal MatchMoney,UserCache userCache);
        List<Purchase_OuterNotePayRelation> GetListByPayId(int PayId);
    }
}